import { Component, PropTypes } from 'labrador-immutable';
const { string, bool, func, number, array } = PropTypes;

class BriefCard extends Component {
  static propTypes = {
    img: string,
    title: string,
    id: string,
    add_time: string,
    cate_name: string
  };

  constructor(props) {
    super(props);
  }
  onUpdate(props) {}

  handleDetailJump(e) {
    wx.navigateTo({ url: '/pages/detail/index?id=' + this.props.id + '&form_id=' + e.detail.formId});
  }
}

export default BriefCard;
